package de.fhb.itunes.repository.data;

import java.sql.Date;

public class Film_VO extends MedienFile_VO{
	private boolean hd;

	public Film_VO() {
		super();
	}

	public Film_VO(int id, int trackid, String titel, String genre,
			String pfad, long laenge, Date added, boolean hd) {
		super(id, trackid, titel, genre, pfad, laenge, added);
		this.hd = hd;
	}

	public boolean isHd() {
		return hd;
	}

	public void setHd(boolean hd) {
		this.hd = hd;
	}
	public boolean equals(Object obj){
		boolean erg = false;
		if(obj != null){
			if(obj instanceof Film_VO){
				Film_VO film = (Film_VO) obj;
				if(this.hd == film.hd){
					if( super.equals(obj)){
						erg = true;
					}
				}
			}
		}
		return erg;
	}
	
}
